package com.chuanke.ckfamily.dao.user.model;

import com.weijie.core.extend.FiledName;
import com.weijie.core.extend.TableName;
import com.weijie.core.model.BaseModel;
import java.sql.Timestamp;

@TableName("cf_user_relation")
public class UserRelation extends BaseModel {
	private static final long serialVersionUID = -2039844202828890261L;

	/**
	 * 主用户id
	 */
	private Long master;

	/**
	 * 从用户id
	 */
	private Long slave;

	/**
	 * 关系类型
	 */
	private Integer type;

	/**
	 * 备注
	 */
	private String friend_remark;

//	private Integer is_black;

	/**
	 * 关系更新时间
	 */
	private Timestamp update_time;

	/**
	 * 关系创建时间
	 */
	private Timestamp create_time;

	@FiledName("master")
	public Long getMaster() {
		return this.master;
	}

	@FiledName("slave")
	public Long getSlave() {
		return this.slave;
	}

	@FiledName("type")
	public Integer getType() {
		return this.type;
	}

	@FiledName("friend_remark")
	public String getFriend_remark() {
		return friend_remark;
	}

//	@FiledName("is_Black")
//	public Integer getIs_black() {
//		return is_black;
//	}

	@FiledName("update_time")
	public Timestamp getUpdate_time() {
		return update_time;
	}

	@FiledName("create_time")
	public Timestamp getCreate_time() {
		return create_time;
	}

	public void setMaster(Long master) {
		this.master = master;
	}

	public void setSlave(Long slave) {
		this.slave = slave;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public void setFriend_remark(String friend_remark) {
		this.friend_remark = friend_remark;
	}

//	public void setIs_black(Integer is_black) {
//		this.is_black = is_black;
//	}

	public void setUpdate_time(Timestamp update_time) {
		this.update_time = update_time;
	}

	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}

}